package com.yurendao.shop.order.service;

import com.yurendao.shop.order.domain.Order;
import com.yurendao.shop.order.domain.OrderItem;
import com.yurendao.shop.order.service.exception.OrderException;

import java.util.List;

/**
 * Created by kong on 15/10/26.
 */
public interface OrderService {

    public void insertOrder(Order order,List<OrderItem> orderItems) throws OrderException;

    public void updateOrderItem(OrderItem orderItem) throws OrderException;

}
